<?php


namespace app\api\controller\v1;


use app\api\model\Product;

class Products
{
    public function get($id){
        $p = new Product();
        $s = $p::getOneProductDetails($id);
        return json($s);
    }
}